<?xml version="1.0" encoding="UTF-8" ?>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Insert title here</title>
<s:head />
</head>
<body>
<div>
<fieldset>
<legend>角色修改</legend>
<s:form action="doModifyRole">
<s:textfield label="角色Id" value="%{role.id}" readonly="true" name="role.id"></s:textfield>
<s:textfield label="角色名称" name="role.roleName"></s:textfield>
<s:textfield label="角色描述" name="role.description"></s:textfield>
<s:optiontransferselect tooltip="选择授予该用户的权限" label="设置权限"
		name="remainAuthorizations" leftTitle="未授予的权限" rightTitle="授予的权限"
		list="remainAuthorizations" multiple="true" headerKey="headerKey"
		listKey="id" listValue="privilegeName" size="6" headerValue="--- 请选择 ---"
		doubleList="chosenAuthorizations" doubleListKey="id"
		doubleListValue="privilegeName" doubleName="chosenAuthorizationsId"
		doubleSize="6" doubleHeaderKey="doubleHeaderKey"
		doubleHeaderValue="--- 请选择 ---" allowUpDownOnLeft="false"
		allowUpDownOnRight="false" allowSelectAll="false"
		allowAddAllToLeft="false" allowAddAllToRight="false"
		doubleMultiple="true" />
<s:submit></s:submit>
</s:form>
</fieldset>
</div>
</body>
</html>